const {
	result_success,
	result_error
} = require('http-result-modle')
const db = uniCloud.database()
const dbCmd = db.command
const userCollectionName = 'uni-id-users'
const userCollection = db.collection(userCollectionName)
const appletInfoCollectionName = 'wmz-applet-info'
const appletInfoCollection = db.collection(appletInfoCollectionName)
const bluetoothName = 'wmz-bluetooth'
const bluetoothCollection = db.collection(bluetoothName)


module.exports = {
	result_success,
	result_error,
	db,
	dbCmd,
	userCollectionName,
	userCollection,
	appletInfoCollectionName,
	appletInfoCollection,
	bluetoothName,
	bluetoothCollection
}